<template>
<h1 @click = 'getUserList'>点击获取用户列表</h1>
</template>

<script>
import {getUserList} from '@/api/api'
export default {
  name: "UserList",
  methods:{
    getUserList,
  }
}
</script>

<style scoped>

</style>